Crate zng_wgt_button
source ·Structs§
- Button context.
W
A clickable container.- Arguments for
cmd_tooltip_fn
. W
Button default style.W
Button link style.
Statics§
- Idle background dark and light color.
- Widget function used when
cmd
is set andchild
is not. - Optional parameter for the button to use when notifying command.
- Widget function used when
cmd
is set andtooltip_fn
,tooltip
are not set. - Contextual style variable.
Functions§
P
Sets the colors used to compute all background and border colors in the button style.c
Sets theCommand
the button represents.P
Optional command parameter for the button to use when notifyingcmd
.P
Sets the widget function used to produce the button tooltip whencmd
is set and tooltip is not.- Create a
color_scheme_highlight
of0.08
. - Create a
color_scheme_highlight
of0.16
. - Default
CMD_CHILD_FN_VAR
. - Default
CMD_TOOLTIP_FN_VAR
. P
Extends or replaces the widget style.